
package com.gc.ykqx.service.util;

/**
 * Created by clem on 2017/3/27.
 */
public class Constant {
    public static final String YK = "永康";
    public static final String ELEMENT_STATION_ID = "stationId,";
    public static final String YK_NAME = "永康市";
    public static final String YK_STA_ID = "58643";
    public static final double CENTER_LAT = 28.9500;
    public static final double CENTER_LON = 120.1300;
    public static final String NO_PRE_QY = "0.0000";
    public static final String NO_PRE_SW = "0.0";
    public static final String NO_PRE_FLAG = ".";
    public static final String START_TIME = "start_time";
    public static final String END_TIME = "end_time";

    public static final String NO_DATA_FLAG = "—";
    public static final String HAVE_DATA_FLAG = "0";
    public static final String SEE_YOU_TOMORROW = "该功能待开放";
    public static final String NO_MORE_DATA = "无更多数据";

    public static final String URL_PARA_DAY_TIME = "&time=";
    public static final String URL_PARA_TIMES = "&times=";
    public static final String URL_PARA_STAIDS = "&staIds=";
    public static final String BEGINTIME = "&begintime=";
    public static final String ENDTIME = "&endtime=";
    public static final String FILE_CONFIG = "config";


    public static final String NO_DATA_HINT = "暂无数据";
    public static final String NET_ERROR_HINT = "请检查你的网络";
    public static final String PARSE_ERROR_HINT = "数据解析异常";
    public static final String CHECK_FILE = "文件异常";
    public static final String OUT_TIME = "超过当前时间";

    public static final String SP_SITES_KEY = "sp_sites_key";
    public static final String SP_SITE_IDS_KEY = "sp_site_ids_key";

    public static final String ZERO = "0";
    public static final String ONE = "1";
    public static final String NNN = "-999";
    public static final String YK_UNIT_NAME = "永康气象局";
    public static final String[] ADD_SITEID_ARRAY={"58654","K9021","K9078","K9074","K9008","K6072","58642","K6104","K6183","K6044","K6184"};

    public class Msg {
        //网络错误
        public static final String NET_ERROR = "net_error";
        public static final String SERVER_ERROR = "server_error";
        public static final String PARSE_ERROR = "parse_error";
        public static final int RESPONSE_SUCCESS_CODE = 200;
        public static final int RESPONSE_FAILED_CODE = 400;
        public static final String NO_DATA = "no_data";

        public static final String NO_SITE_DATE = "no_site_data";
        public static final String NO_UPDATE = "no_update";
        public static final String HAVE_UPDATE = "have_update";
        public static final String REPAIR = "维护中";
        /*
        1.首页
         */
        //预警
        public static final String GET_WARNING_INFO_SUCCESS = "get_warning_info_success";
        //首页实况资料
        public static final String GET_FACTOR_INFO_SUCCESS = "get_factor_info_success";

        public static final String GET_YK_INFO_SUCCESS = "get_yk_info_success";
        public static final String GET_FYLZ_SUCCESS = "get_fylz_success";

        //主页预报
        public static final String GET_HOME_FORE_SUCCESS = "get_home_fore_success";
        /*
        2.实况
         */

        public static final String GET_LIVE_INFO_SUCCESS = "get_live_info_success";
        public static final String GET_QY_TEM_SUCCESS = "get_qy_tem_success";
        public static final String GET_QY_PRE_SUCCESS = "get_qy_tem_success";
        public static final String GET_QY_WIND_SUCCESS = "get_qy_tem_success";

        //区域站
        public static final String GET_QY_STA_SUCCESS = "get_qy_sta_success";
        //区域站实时温度
        //     public static final String GET_QY_TEM_SUCCESS = "get_qy_tem_success";
        //获取整点温度
        public static final String GET_QY_TEM_INT_SUCCESS = "get_qy_tem_int_success";
        //获取最高温度
        public static final String GET_QY_TEM_MAX_SUCCESS = "get_qy_tem_max_success";
        //获取最低温度
        public static final String GET_QY_TEM_MIN_SUCCESS = "get_qy_tem_min_success";
        //获取平均温度
        public static final String GET_QY_TEM_AVG_SUCCESS = "get_qy_tem_avg_success";
        //获取区域站降水
        public static final String GET_QY_PRE_10M_SUCCESS = "get_qy_pre_10_success";
        public static final String GET_QY_PRE_30M_SUCCESS = "get_qy_pre_30_success";
        public static final String GET_QY_PRE_ZD_SUCCESS = "get_qy_pre_zd_success";
        public static final String GET_QY_PRE_1H_SUCCESS = "get_qy_pre_1_success";
        public static final String GET_QY_PRE_3H_SUCCESS = "get_qy_pre_3_success";
        public static final String GET_QY_PRE_12H_SUCCESS = "get_qy_pre_12_success";
        public static final String GET_QY_PRE_FROM_08H_SUCCESS = "get_qy_pre_08_success";
        public static final String GET_QY_PRE_08H_20H_SUCCESS = "get_qy_pre_08_20_success";
        public static final String GET_QY_PRE_FROM_20H_SUCCESS = "get_qy_pre_20_success";
        public static final String GET_QY_PRE_20H_08H_SUCCESS = "get_qy_pre_20_08_success";
        public static final String GET_QY_PRE_DAY_SUCCESS = "get_qy_pre_day_success";
        public static final String GET_QY_PRE_MON_SUCCESS = "get_qy_pre_mon_success";

        //水文站
        public static final String GET_SW_STA_SUCCESS = "get_sw_sta_success";
        //水文站降水 1小时降水
        public static final String GET_SW_PRE_1H_SUCCESS = "get_sw_pre_1h_success";

        //获取实时风速
        public static final String GET_QY_WIND_LATEST_SUCCESS = "get_qy_wind_latest_success";
        //获取整点风速
        public static final String GET_QY_WIND_INT_SUCCESS = "get_qy_wind_int_success";
        //获取日最大风速
        public static final String GET_QY_WIND_MAX_SUCCESS = "get_qy_wind_max_success";

        /*2.1详情信息
        单个站点24小时 温度 降水 风速*/
        public static final String GET_QY_STA_24_INFO_SUCCESS = "get_qy_sta_24_info_success";

        /* 3.预报
          */
        //短时预报
        public static final String GET_FORE_SHORT_TIME_FORE_SUCCESS = "get_fore_short_time_fore_success";
        //短期预报
        public static final String GET_FORE_SHORT_DATE_SUCCESS = "get_fore_short_date_success";
        //一周预报
        public static final String GET_FORE_A_WEEK_SUCCESS = "get_fore_a_week_success";
    }

    /*
    服务器地址
     */
    public class Url {
        public static final String BASE_URL = "http://122.224.174.185:8001/226/";
        public static final String YK_IP = "http://122.224.174.185:8001/226/pic/";
        public static final String IMG_IP = "http://122.224.174.185:8001/226/zjImg/jh/";

        public static final String GET_VERSION_INFO = YK_IP + "updateApp";
        public static final String GET_APK = YK_IP + "downApp";

        private static final String TEM = "dryBulTemp";
        private static final String MAX_TEM_20 = "tem_max_h20";
        private static final String MAX_TEM = "maxTemp";
        private static final String MIN_TEM_20 = "tem_min_h20";
        private static final String MIN_TEM = "minTemp";
        private static final String AVG_TEM = "avgTemp";

        private static final String MIN_BEGIN = "http://122.224.174.185:8001/mul_min/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,";
        private static final String HOR_BEGIN = "http://122.224.174.185:8001/mul_hor/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,";
        private static final String DAY_BEGIN = "http://122.224.174.185:8001/mul_day/getSurfEleByStaIDAndTimes?userid=aa&pwd=123&dataformat=json&elements=stationId,";
        private static final String EVS_BEGIN = "http://122.224.174.185:8001/evs_min/getSurfLatestTimeByStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,";
        private static final String END = "&orderBy=stationId:desc&limitCnt=100";
        /*分钟温度*/
        /* http://122.224.174.185:8001/mul_min/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,dryBulTemp&orderBy=stationId:asc&limitCnt=100&staIds=58444,58477&times=20170927090000*/
        public static final String GET_TEM_URL = MIN_BEGIN + TEM + END;
        /*小时温度*/
        /*http://122.224.174.185:8001/mul_hor/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,dryBulTemp&orderBy=dryBulTemp:desc,stationId:desc&limitCnt=100&orderBy=stationId:asc&limitCnt=100&times=20170927090000&staIds=58444,58477*/
        public static final String GET_TEM_HOR_URL = HOR_BEGIN + TEM + END;
        /*20点以来最高温度*/
        /*http://122.224.174.185:8001/evs_min/getSurfLatestTimeByStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,datetime,tem_max_h20&limitCnt=100&staIds=58643*/
        public static final String GET_TEM_MAX_20_URL = EVS_BEGIN + MAX_TEM_20 + END;
        /*每日最高温度*/
        /* http://122.224.174.185:8001/mul_day/getSurfEleByStaIDAndTimes?userid=aa&pwd=123&dataformat=json&elements=stationId,maxTemp&staIds=58643,58444,k6211,k6200&time=20170926000000*/
        public static final String GET_TEM_MAX_URL = DAY_BEGIN + MAX_TEM;
        /*20点以来最低温度*/
        /*http://122.224.174.185:8001/evs_min/getSurfLatestTimeByStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,datetime,tem_min_h20&limitCnt=100&staIds=58643*/
        public static final String GET_TEM_MIN_20_URL = EVS_BEGIN + MIN_TEM_20 + END;
        /*每日最低温度*/
        /* http://122.224.174.185:8001/mul_day/getSurfEleByStaIDAndTimes?userid=aa&pwd=123&dataformat=json&elements=stationId,minTemp&staIds=58643,58444,k6211,k6200&time=20170926000000*/
        public static final String GET_TEM_MIN_URL = DAY_BEGIN + MIN_TEM;
        /*每日平均温度*/
        /* http://122.224.174.185:8001/mul_day/getSurfEleByStaIDAndTimes?userid=aa&pwd=123&dataformat=json&elements=stationId,minTemp&staIds=58643,58444,k6211,k6200&time=20170926000000*/
        public static final String GET_TEM_AVG_URL = DAY_BEGIN + AVG_TEM;
        /*http://122.224.174.185:8001/mul_hor/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,dryBulTemp,visibility,relHumidity,stationPress&orderBy=dryBulTemp:desc,stationId:desc&limitCnt=100&orderBy=stationId:asc&limitCnt=100&times=20170927090000&staIds=58444,58477*/
        public static final String GET_FACTOR_URL = "http://122.224.174.185:8001/mul_hor/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,dryBulTemp,precipitation,windVelocity,visibility,relHumidity,stationPress&orderBy=stationId:desc&limitCnt=100";
        /*
          1.首页
       */
        //获取预警信息
        public static final String GET_WARNING_URL = "http://122.224.174.185:8001/yj/getSurfEle?userid=aa&pwd=123&dataformat=json&elements=unitname,unitlat,unitlng,yjvalidtime,yjch,yjptime";
        //获取定位后站点信息
        public static final String GET_LOC_INFO_URL = "http://122.224.174.185:8001/mul_min/getSurfLatestTimeByStaID?userid=wlzx&pwd=123&dataformat=json&elements=stationId,observTimes,windVelocity,precipitation,dryBulTemp&staIds=";
        public static final String GET_YK_INFO_URL = "http://122.224.174.185:8001/mul_min/getSurfLatestTimeByStaID?userid=wlzx&pwd=123&dataformat=json&elements=stationId,observTimes,visibility,relHumidity,stationPress&staIds=58643";
        public static final String GET_FYLZ_INFO_URL = "http://122.224.174.185:8001/pic/getFYLZ";


        //实况信息 &times=20170614144000&staIds=58643,k6211
        // public static final String GET_HOME_FACTOR_INFO_URL = "http://122.224.174.185:8001/mul_min/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,visibility,relHumidity,stationPress,windVelocity,precipitation,dryBulTemp&orderBy=observTimes:desc,stationId:desc&limitCnt=100";
        //public static final String GET_LOC_STA_INFO_URL = "http://122.224.174.185:8001/mul_min/getSurfLatestTimeByStaID?userid=wlzx&pwd=123&dataformat=json&elements=stationId,observTimes,windVelocity,precipitation,dryBulTemp&staIds=";
        //永康站能见度、相对湿度、气压

        /*
           2.实况
        */
        //获取区域站
        public static final String GET_QY_STA_URL = "http://122.224.174.185:8001/sta/getStaInfoByRegionCodeandStaIndesandEleType?userid=aa&pwd=123&dataformat=json&elements=stationId,Station_Name,Lat,Lon&adminCodes=330784&staIndes=1,2&eleTypes=T,R,F";
        /*
        温度
       */
        //实时温度  &times=20170525162000&staIds=58444,58477
        public static final String GET_QY_TEM_LATEST_URL = "http://122.224.174.185:8001/mul_min/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,dryBulTemp&orderBy=observTimes:desc,stationId:desc&limitCnt=100";
        //整点温度 &times=20170525150000&staIds=58444,58477
        public static final String GET_QY_TEM_INT_URL = "http://122.224.174.185:8001/mul_hor/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,dryBulTemp&orderBy=dryBulTemp:desc,stationId:desc&limitCnt=100";
        //当日最高温度 &staIds=58643
        public static final String GET_QY_TEM_MAX_20_URL = "http://122.224.174.185:8001/evs_min/getSurfLatestTimeByStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,datetime,tem_max_h20&limitCnt=100";
        //每日最高温度 &staIds=58643,58444,k6211,k6200&time=20170524000000
        public static final String GET_QY_TEM_MAX_URL = "http://122.224.174.185:8001/mul_day/getSurfEleByStaIDAndTimes?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,maxTemp";
        //当日最低温度  &staIds=58643
        public static final String GET_QY_TEM_MIN_20_URL = "http://122.224.174.185:8001/evs_min/getSurfLatestTimeByStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,datetime,tem_min_h20&limitCnt=100";
        //每日最低温度
        public static final String GET_QY_TEM_MIN_URL = "http://122.224.174.185:8001/mul_day/getSurfEleByStaIDAndTimes?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,minTemp";
        //获取平均温度 &staIds=58643,58444,k6211,k6200&time=20170524000000
        public static final String GET_QY_TEM_AVG_URL = "http://122.224.174.185:8001/mul_day/getSurfEleByStaIDAndTimes?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,avgTemp";
        /*
        降水
         */
        //10分钟降水 &times=20170524181000&staIds=58444,58477
        public static final String GET_QY_PRE_10M_URL = "http://122.224.174.185:8001/evs_min/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,datetime,Pre_Sum_10min&orderBy=Pre_Sum_10min:desc,stationId:desc&limitCnt=100";
        //30分钟降水 &times=20170524181000&staIds=58444,58477
        public static final String GET_QY_PRE_30M_URL = "http://122.224.174.185:8001/evs_min/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,datetime,Pre_Sum_30min&orderBy=Pre_Sum_30min:desc,stationId:desc&limitCnt=100";
        //整点以来降水 &staIds=58643,k6211
        public static final String GET_QY_PRE_ZD_URL = "http://122.224.174.185:8001/mul_min/getSurfLatestTimeByStaID?userid=wlzx&pwd=123&dataformat=json&elements=stationId,observTimes,PrecipitationFromHour";
        //1小时降水 &times=20170524180000&staIds=58444,58477
        public static final String GET_QY_PRE_1H_URL = "http://122.224.174.185:8001/evs_min/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,datetime,Pre_Sum_1h&orderBy=Pre_Sum_1h:desc,stationId:desc&limitCnt=100";
        //3小时降水 &times=20170524180000&staIds=58444,58477
        public static final String GET_QY_PRE_3H_URL = "http://122.224.174.185:8001/evs_min/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,datetime,Pre_Sum_3h&orderBy=Pre_Sum_3h:desc,stationId:desc&limitCnt=100";
        //12小时降水 &times=20170524180000&staIds=58444,58477
        public static final String GET_QY_PRE_12H_URL = "http://122.224.174.185:8001/evs_min/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,datetime,Pre_Sum_12h&orderBy=Pre_Sum_12h:desc,stationId:desc&limitCnt=100";
        //20点以来降水 &staIds=58643,k6211
        public static final String GET_QY_PRE_FROM_20_URL = "http://122.224.174.185:8001/evs_min/getSurfLatestTimeByStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,datetime,Pre_Sum_h20&limitCnt=100";
        //20点到08点 &time=20170524000000&staIds=58643,58444,k6211,k6200
        public static final String GET_QY_PRE_2008_URL = "http://122.224.174.185:8001/mul_day/getSurfEleByStaIDAndTimes?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,precipitation2008";
        //08点以来  &staIds=58643,k6211
        public static final String GET_QY_PRE_FROM_08_URL = "http://122.224.174.185:8001/evs_min/getSurfLatestTimeByStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,datetime,Pre_Sum_h08&limitCnt=100";
        //08点到20点 &time=20170524000000&staIds=58643,58444,k6211,k6200
        public static final String GET_QY_PRE_0820_URL = "http://122.224.174.185:8001/mul_day/getSurfEleByStaIDAndTimes?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,precipitation0820";
        //日降水 &time=20170524000000&staIds=58643,k6211
        public static final String GET_QY_PRE_DAY_URL = "http://122.224.174.185:8001/mul_day/getSurfEleByStaIDAndTimes?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,precipitation";
        // TODO: 2017/5/25 接口没有
        public static final String GET_QY_PRE_MON_URL = "";
        /*
        风速
         */
        //实时风速  &times=20170525160000&staIds=58444,58477
        public static final String GET_QY_WIND_LATEST_URL = "http://122.224.174.185:8001/mul_min/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,windVelocity&orderBy=observTimes:desc,stationId:desc&limitCnt=100";
        //获取整点风速 &times=20170525160000&staIds=58444,58477
        public static final String GET_QY_WIND_INT_URL = "http://122.224.174.185:8001/mul_hor/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,windVelocity&orderBy=dryBulTemp:desc,stationId:desc&limitCnt=100";
        //当日极大风20点以来  &staIds=58643
        public static final String GET_QY_WIND_MAX_20_URL = "http://122.224.174.185:8001/evs_min/getSurfLatestTimeByStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,datetime,win_v_ins_max_h20&limitCnt=100";
        //获取最大风速 &staIds=58643,58444,k6211,k6200&time=20170524000000
        public static final String GET_QY_WIND_MAX_URL = "http://122.224.174.185:8001/mul_day/getSurfEleByStaIDAndTimes?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,maxWindV";

        //区域站降水等值线图
        public static final String GET_QY_PRE_PIC_URL = "http://122.224.174.185:8001/pic/ykPre?index=";
        //获取水文站
        public static final String GET_SW_STA_URL = "http://122.224.174.185:8001/sta/getStaInfoByRegionCodeandStaIndesandEleType?userid=aa&pwd=123&dataformat=json&elements=stationId,Station_Name,Lat,Lon,Alti&adminCodes=330784&staIndes=6&eleTypes=R";
        //获取水文站降水
        public static final String GET_SW_PRE_INT_URL = "http://122.224.174.185:8001/out_mul_hor/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,precipitation&orderBy=precipitation:desc,stationId:desc&limitCnt=100";
        //获取区域站降水
        public static final String GET_QY_PRE_INT_URL = "http://122.224.174.185:8001/m_sta_pre/getSurfEleByTimeTypeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,precipitation&timeCnt=24&timeType=H&staIds=";
        //获取区域站和水文站
        public static final String GET_QY_AND_SW_STA_URL = "http://122.224.174.185:8001/sta/getStaInfoByRegionCodeandStaIndesandEleType?userid=aa&pwd=123&dataformat=json&elements=stationId,Station_Name&adminCodes=330784&staIndes=1,2,6&eleTypes=R";

        /*
        2.1站点详情
         */
        //站点最新资料 &times=20170524223000&staIds=58643
        public static final String GET_QY_LATEST_INFO_URL = "http://122.224.174.185:8001/mul_min/getSurfEleByTimeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,precipitation,dryBulTemp,windVelocity&orderBy=observTimes:desc,stationId:desc&limitCnt=100";
        //近24小时实况信息 &staIds=58643
        public static final String GET_24_INFO_URL = "http://122.224.174.185:8001/mul_hor/getSurfEleByTimeTypeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,precipitation,dryBulTemp,windVelocity&timeType=H&timeCnt=-24";
        //获取本月实况信息 &staIds=58643 // TODO: 2017/5/26
        public static final String GET_MON_INFO_URL = "http://122.224.174.185:8001/mul_hor/getSurfEleByTimeTypeAndStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,precipitation,DryBulTemp,windVelocity&timeType=H&timeCnt=-24";
        /*
        3.预报
         */
        //预报接口 6 短时 2 短期 5一周
        public static final String GET_FORE_URL = "http://122.224.174.185:8001/fore_text/getSurfLatestTimeByStaID?userid=aa&pwd=123&dataformat=json&elements=stationId,datetime,FILE_Type,FILE_Text&staIds=58643&fileType=";
        /*
        3.1历史信息
         */
        //昨日信息
        public static final String GET_YESTERDAY_URL = "http://122.224.174.185:8001/history/getHisTodayLatestTimeByStaID?userid=aa&pwd=123&dataformat=json&elements=time,Yesterday_Prec,Yesterday_MinT,Yesterday_MaxT&staid=58563";
        //历时今天
        public static final String GET_HISTORY_URL = "http://122.224.174.185:8001/history/getHisSeqLatestTimeByStaID?userid=aa&pwd=123&dataformat=json&elements=MaxT_Value,MinT_Value,Prec_Value,MaxT_Year,MinT_Year,Prec_Year&staid=58563";
        /*
        5.台风路径
        */
        //预测达图名字
        public static final String GET_GRAD_RADAR_1H_FILE_NAME_URL = IMG_IP + "gradRadarGrad_fileName?type=1&num=3";
        public static final String GET_GRAD_RADAR_3H_FILE_NAME_URL = IMG_IP + "gradRadarGrad_fileName?type=3&num=3";
        public static final String GET_RAIN_RADAR_1H_FILE_NAME_URL = IMG_IP + "gradRadarRain_fileName?type=1&num=3";
        public static final String GET_RAIN_RADAR_3H_FILE_NAME_URL = IMG_IP + "gradRadarRain_fileName?type=3&num=3";
        //预测雷达图
        public static final String GET_GRAD_RADAR_1H_URL = IMG_IP + "gradRadarGrad_file?type=1&picName=";
        public static final String GET_GRAD_RADAR_3H_URL = IMG_IP + "gradRadarGrad_file?type=3&picName=";
        public static final String GET_RAIN_RADAR_1H_URL = IMG_IP + "gradRadarRain_file?type=1&picName=";
        public static final String GET_RAIN_RADAR_3H_URL = IMG_IP + "gradRadarRain_file?type=3&picName=";

        //省雷达图名字
        public static final String GET_ZJ_RADAR_FILE_NAME_URL = IMG_IP + "zjRadar_fileName?type=";
        //省雷达图
        public static final String GET_ZJ_RADAR_FILE_URL = IMG_IP + "zjRadar_file?picName=";
        //金华雷达图名字
        public static final String GET_JH_RADAR_FILE_NAME_URL = IMG_IP + "jhRadar_fileName?type=";
        //金华雷达图
        public static final String GET_JH_RADAR_FILE_URL = IMG_IP + "jhRadar_file?picName=";
        //台风路径
        public static final String TYP_URL = "http://zt.zjmb.gov.cn/tfzt/db/typhoon_wx/zjtf.html";
    }

    /* //整点温度 参数-1&staIds=58643 站号和时次
     public static final String GET_TEM_INT_URL = "http://122.224.174.185:8001/mul_hor/getSurfEleByTimeTypeAndStaIDAndTimes?userid=aa&pwd=123&dataformat=json&elements=stationId,observTimes,dryBulTemp&timeType=H&timeCnt=";
     //日最高温度  -1&staIds=58643
     public static final String GET_TEM_MAX_URL = "http://122.224.174.185:8001/evs_min/getSurfEleByTimeTypeAndStaIDAndTimes?userid=aa&pwd=123&dataformat=json&elements=stationId,Tem_Max_h20,Tem_Max_h20_OTime&timeType=D&timeCnt=";
     //日最低温度  -1&staIds=58643
     public static final String GET_TEM_MIN_URL = "http://122.224.174.185:8001/evs_min/getSurfEleByTimeTypeAndStaIDAndTimes?userid=aa&pwd=123&dataformat=json&elements=stationId,Tem_Min_h20,Tem_Min_h20_OTime&timeType=D&timeCnt=";
     //日平均温度  -1&staIds=58643
     public static final String GET_TEM_AVG_URL = "http://122.224.174.185:8001/evs_hor/getSurfEleByTimeTypeAndStaIDAndTimes?userid=aa&pwd=123&dataformat=json&elements=stationId,Tem_Avg_24h&timeType=D&timeCnt=";*/

    /*
    传递参数key
     */
    public class TransmissionKey {
        public static final String SITE = "site";
        public static final String SITE_LIST = "site_list";
        public static final String ITEM_LIST = "loc_list";
        public static final String SITE_INFO = "site_info";
        public static final String SITE_ID = "site_id";
        public static final String TYPE = "type";
        public static final String TITLE = "time_name";
        public static final String SELECT_ID = "select_id";
        public static final String SITE_TYPE = "site_type";
    }

    public class RbType {
        public static final String RB_TEM = "rb_tem";
        public static final String RB_PRE = "rb_pre";
        public static final String RB_WIND = "rb_wind";
    }

    public class Type {
        public static final String TEM = "tem";
        public static final String PRE = "pre";
        public static final String WIND = "wind";

    }

    public class Time {
        public static final String TIME_MIN = "time_min";//分钟时间
        public static final String TIME_HOR = "time_hor";//小时时间
        public static final String TIME_DAY = "time_day";//日时间
    }

    public class Fore {
        public static final String SHORT_TIME = "6";
        public static final String SHORT_DATE = "2";
        public static final String A_WEEK = "5";
    }

    public class Special {
        public static final String NORMAL = "normal";//正常的
        public static final String FIRST_SPECIAL = "first_special";//第一个特殊
        public static final String ONLY_ONE = "only_one";//只有一个时次
        public static final String DIY = "diy";//任意时段
    }

    public class SiteType {
        public static final String SITE_QY = "site_qy";
        public static final String SITE_SW = "site_sw";
        public static final String SITE_ALL = "site_all";

    }

    public class Element {

        public static final String TEM = "dryBulTemp";
        public static final String TEM_INT = "dryBulTemp";
        public static final String TEM_MAX_20 = "tem_max_h20";
        public static final String TEM_MAX = "maxTemp";
        public static final String TEM_MIN_20 = "tem_min_h20";
        public static final String TEM_MIN = "minTemp";
        public static final String TEM_AVG_20 = "tem_avg_h20";
        public static final String TEM_AVG = "avgTemp";

        public static final String PRE_QY_10M = "pre_sum_10min";
        public static final String PRE_QY_30M = "pre_sum_30min";
        public static final String PRE_QY_ZD = "precipitationFromHour";
        public static final String PRE_QY_1H = "pre_sum_1h";
        public static final String PRE_QY_3H = "pre_sum_3h";
        public static final String PRE_QY_6H = "pre_sum_6h";
        public static final String PRE_QY_12H = "pre_sum_12h";
        public static final String PRE_QY_20 = "pre_sum_h20";
        public static final String PRE_QY_2008 = "precipitation2008";
        public static final String PRE_QY_08 = "pre_sum_h08";
        public static final String PRE_QY_0820 = "precipitation0820";
        public static final String PRE_QY_DAY = "precipitation";
        public static final String PRE_DIY = "pre_diy";

        public static final String PRE_SW_1H = "precipitation";

        public static final String WIND = "windVelocity";
        public static final String WIND_INT = "windVelocity";
        public static final String WIND_MAX_20 = "win_v_ins_max_h20";
        public static final String WIND_MAX = "maxWindV";
    }

    public class Response {
        public static final int SUCCESS_CODE = 0;
    }

    public class Diy {
        public static final String DAY = "diy_day";
        public static final String MIN = "diy_min";
        public static final String Hor = "diy_hor";
    }

   /* http://10.135.30.116:8080/ZJDataCenter/api/SURF_ZJ_MUL_HOR/getSurfEleByTimeTypeAndStaIDAndBeginEndTime?userid=wlzx&pwd=123&dataformat=json&elements=Precipitation,ObservTimes
   &staIds=58457&timeType=H&begintime=20170612080000&endtime=20170613090000*/

}